﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace YFrameWork.RunTime
{
    public interface IData 
    {
        /// <summary>
        /// 保存数据
        /// </summary>
        void SaveData();
    }

    public abstract class DataBase : IData
    {
        /// <summary>
        /// 保存数据
        /// </summary>
        public abstract void SaveData();

        /// <summary>
        /// 清楚数据
        /// </summary>
        public virtual void Clear() { }
    }
}